<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>order page</title>
    <script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>

</head>

<body>
<script>
    var productId = "90000000000";
    var count = "1";
    for (var i = 0; i < 2200; i++) {
        $.post("./buy/" + productId + "/" + count, function (result) {
            console.log(result.message)
        })
    }

</script>
</body>
</html>